import Vue from 'vue'
import Router from 'vue-router'

import { public_route } from "@/router/public_route"

import { users } from "@/router/user_router"

let loading = {
	path: '/page/loading',
	name: '加载页面',
	component: resolve => require(['../pages/loading'], resolve),
	meta: {
		noAuth: true
	}
}
public_route.push(loading)
public_route.push.apply(public_route, users);
console.log(public_route)
Vue.use(Router);
export default new Router({
	routes: public_route
})